import City from "../pages/city";
import Deail from "../pages/deail";
import Home from "../pages/home";
import List from "../pages/list";
import Login from "../pages/login";
import {createBrowserRouter} from 'react-router-dom'


export  const router = createBrowserRouter([
    {
    path: "/login",
    element: <Login></Login>
  },
  {
    path: "/",
    element: <Home></Home>
  },
  {
    path: "/",
    element: <Home></Home>
  },
  {
    path: "/list",
    element: <List></List>
  },
  {
    path: "/deail",
    element: <Deail></Deail>
  },
  {
    path: "/city",
    element: <City></City>
  },
]);